<%-- 
    Document   : pagina
    Created on : 30-jun-2013, 13:55:30
    Author     : Jaime
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page session="true"%>

<%  
    HttpSession sesion=request.getSession();
    if (sesion.getAttribute("user")==null){
%>

<jsp:forward page="index.jsp">
<jsp:param name="error" value="DEBE IDENTIFICARSE PARA ENTRAR AL SISTEMA"/>
</jsp:forward>
<%
    }

%>

<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>Hello World!</h1>
    </body>
</html>
